package com.ruoyi.common.core.domain.entity.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.ArrayList;
import java.util.List;

/**
 * 菜单权限表 sys_menu
 *
 * @author ruoyi
 */
public class SysMenuVo
{
    private static final long serialVersionUID = 1L;

    /** 菜单ID */
    private String menuId;

    /** 菜单名称 */
    private String menuName;

    /** 类型（M目录 C菜单 F按钮） */
    private String menuType;

    /** 绑定的业务表**/
    private String bindTable;

    /** 表单设计Key 默认以业务表(驼峰格式)+菜单Id**/
    @JSONField(name = "formBuildKey")
    private String buildKey;

    private String tabMenuId;

    /** 备注 */
    private String remark;

    /** 子菜单 */
    private List<SysMenuVo> children = new ArrayList<SysMenuVo>();

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getMenuName()
    {
        return menuName;
    }

    public void setMenuName(String menuName)
    {
        this.menuName = menuName;
    }

    public List<SysMenuVo> getChildren() {
        return children;
    }

    public void setChildren(List<SysMenuVo> children) {
        this.children = children;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getBindTable() {
        return bindTable;
    }

    public void setBindTable(String bindTable) {
        this.bindTable = bindTable;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBuildKey() {
        return buildKey;
    }

    public void setBuildKey(String buildKey) {
        this.buildKey = buildKey;
    }

    public String getTabMenuId() {
        return tabMenuId;
    }

    public void setTabMenuId(String tabMenuId) {
        this.tabMenuId = tabMenuId;
    }
}
